package com.ruoyi.project.posts.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 失物招领、拼车服务、二手交易帖子对象 lbl_cs_discuss_post
 * 
 * @author BaoL
 * @date 2023-03-25
 */
public class LblCsDiscussPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 标题 */
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 图片集合 */
    @Excel(name = "图片集合")
    private String imgUrls;

    /** 帖子评论总数 */
    @Excel(name = "帖子评论总数")
    private Long commentCount;

    /** 0-失物招领; 1-拼车服务; 2-校园风景; 3-二手交易 */
    private Integer type;

    /** 0-正常; 1-拉黑; */
    @Excel(name = "0-正常; 1-拉黑;")
    private Integer status;

    /** 商品原总价 */
    @Excel(name = "商品原总价")
    private BigDecimal amountOfOriginalPrice;

    /** 商品现总价 */
    @Excel(name = "商品现总价")
    private BigDecimal amountOfCurrentPrice;

    /** 分数（冗余） */
    private Double score;

    /** 二手交易分类id */
    private Integer classifyId;

    /** 是否完成交易: 0-未完成; 1-已完成 */
    private Integer isFinishDeal;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setImgUrls(String imgUrls) 
    {
        this.imgUrls = imgUrls;
    }

    public String getImgUrls() 
    {
        return imgUrls;
    }
    public void setCommentCount(Long commentCount) 
    {
        this.commentCount = commentCount;
    }

    public Long getCommentCount() 
    {
        return commentCount;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAmountOfOriginalPrice(BigDecimal amountOfOriginalPrice) 
    {
        this.amountOfOriginalPrice = amountOfOriginalPrice;
    }

    public BigDecimal getAmountOfOriginalPrice() 
    {
        return amountOfOriginalPrice;
    }
    public void setAmountOfCurrentPrice(BigDecimal amountOfCurrentPrice) 
    {
        this.amountOfCurrentPrice = amountOfCurrentPrice;
    }

    public BigDecimal getAmountOfCurrentPrice() 
    {
        return amountOfCurrentPrice;
    }
    public void setScore(Double score) 
    {
        this.score = score;
    }

    public Double getScore() 
    {
        return score;
    }
    public void setClassifyId(Integer classifyId) 
    {
        this.classifyId = classifyId;
    }

    public Integer getClassifyId() 
    {
        return classifyId;
    }
    public void setIsFinishDeal(Integer isFinishDeal) 
    {
        this.isFinishDeal = isFinishDeal;
    }

    public Integer getIsFinishDeal() 
    {
        return isFinishDeal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("imgUrls", getImgUrls())
            .append("commentCount", getCommentCount())
            .append("type", getType())
            .append("status", getStatus())
            .append("amountOfOriginalPrice", getAmountOfOriginalPrice())
            .append("amountOfCurrentPrice", getAmountOfCurrentPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("score", getScore())
            .append("classifyId", getClassifyId())
            .append("isFinishDeal", getIsFinishDeal())
            .toString();
    }
}
